package abstractFactoryPattern;

/**
 * @author Yin_JC
 * @PackageName:abstractFactoryPattern
 * @Class:Factory1
 * @Description:
 * @date 2020/4/2 14:50
 */

public class Factory1 implements Factory {
    @Override
    public TV tvProduce() {
        return new TV1();
    }

    @Override
    public Tool toolProduce() {
        return new Tool1();
    }

    @Override
    public Refrigerator refrigeratorProduce() {
        return new Refrigerator1();
    }
}
